<!DOCTYPE html>
<html class="iframe-h" xmlns:th="http://www.thymeleaf.org">

	<head>
		<meta charset="UTF-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>网站后台管理模版</title>
		<link rel="stylesheet" type="text/css" href="../../static/admin/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="../../static/admin/css/admin.css" />
	</head>

	<body>
		<div class="wrap-container clearfix">
				<div class="column-content-detail">
					<form class="layui-form" action="">
						<div class="layui-form-item">
							<div class="layui-inline tool-btn">
								<button class="layui-btn layui-btn-small layui-btn-normal go-btn" data-url="/admin/order"><i class="layui-icon">&#xe603;</i></button>
								<button class="layui-btn layui-btn-small layui-btn-danger delBtn"  data-url="/admin/ajax/delOrder"><i class="layui-icon">&#xe640;</i></button>
								<button class="layui-btn layui-btn-small layui-btn-normal refBtn hidden-xs" data-url="/"><i class="layui-icon">&#x1002;</i></button>
							</div>
							<div class="layui-inline">
								<input type="text" name="num" required lay-verify="required" placeholder="请输入订单编号或流水号" autocomplete="off" class="layui-input">
							</div>
							<button class="layui-btn layui-btn-normal" lay-submit="search">搜索</button>
						</div>
					</form>
					<div class="layui-form" id="table-list">
						<table class="layui-table" lay-even lay-skin="nob">
							<colgroup>
								<col width="50">
								<col class="hidden-xs" width="50">
								<col width="100">
								<col class="hidden-xs">
								<col class="hidden-xs" width="150">
								<col class="hidden-xs" width="150">
								<col class="hidden-xs" width="150">
								<col width="80">
								<col width="150">
							</colgroup>
							<thead>
								<tr>
									<th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose"></th>
									<th class="hidden-xs">ID</th>
									<th>订单编号</th>
									<th class="hidden-xs">流水号</th>
									<th class="hidden-xs">交易金额</th>
									<th class="hidden-xs">支付方式</th>
									<th class="hidden-xs">购买时间</th>
									<th>状态</th>
									<th>操作</th>
								</tr>
							</thead>
							<tbody>
								<tr th:if="${od != null}">
									<td><input type="checkbox" name="" lay-skin="primary" th:data-id="${od.odId}"></td>
									<td class="hidden-xs" th:text="${od.odId}">1</td>
									<td class="hidden-xs" th:text="${od.odPayId}"></td>
									<td th:text="${od.odTsNum}">玩具</td>
									<td class="hidden-xs" th:text="${od.odMoney}">1989-10-14</td>
									<td class="hidden-xs" th:text="${od.odPayMethod==1?'支付宝':'QQ钱包'}">1989-10-14</td>
									<td class="hidden-xs" th:text="${#dates.format(od.odAddtime,'yyyy-MM-dd HH:mm:ss')}">1989-10-14</td>
									<td th:if="${od.odState == 1}"><button class="layui-btn layui-btn-mini layui-btn-normal">已完成</button></td>
									<td th:if="${od.odState == 0}"><button class="layui-btn layui-btn-mini layui-btn-warm">未完成</button></td>
									<td>
										<div class="layui-inline">
											<button class="layui-btn layui-btn-small layui-btn-normal edit-btn" th:data-id="${od.odId}" data-url="/admin/orderCheck"><i class="layui-icon">&#xe615;</i></button>
											<button class="layui-btn layui-btn-small layui-btn-danger del-btn" th:data-id="${od.odId}" data-url="/admin/ajax/delOrder"><i class="layui-icon">&#xe640;</i></button>
										</div>
									</td>
								</tr>
							</tbody>
						</table>
						<!--<div class="page-wrap">-->
							<!--<ul class="pagination" th:utext="${pageList.page}">-->
								<!--&lt;!&ndash;<li class="disabled"><span>«</span></li>&ndash;&gt;-->
								<!--&lt;!&ndash;<li class="active"><span>1</span></li>&ndash;&gt;-->
								<!--&lt;!&ndash;<li>&ndash;&gt;-->
									<!--&lt;!&ndash;<a href="#">2</a>&ndash;&gt;-->
								<!--&lt;!&ndash;</li>&ndash;&gt;-->
								<!--&lt;!&ndash;<li>&ndash;&gt;-->
									<!--&lt;!&ndash;<a href="#">»</a>&ndash;&gt;-->
								<!--</li>-->
							<!--</ul>-->
						<!--</div>-->
					</div>
				</div>
		</div>
		<script src="../../static/admin/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../static/admin/js/common.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>